
           	    <div id="title_right">
            		<p id="title_right_left"></p>
            		<div id="title_right_center">
            		  <p class="chu_title">CẬP NHẬT BÌNH LUẬN </p>
            		</div>
           			<p id="title_right_right"></p>
             	</div>
               

<?php //var_dump($bl['HoTen']);
//var_dump($data['listmh']);
if(isset($bl)){?>
<form name = "frm_updatebinhluan" method = "post" action = "">
<table class="table">
<tr> 
	<td align = "center" width="100px">Mặt hàng</td>
	<td>
		<select name = "cmb_MatHang" size = "1">
		<?php 
		if(is_array($data['listmh'])){
			foreach ($data['listmh'] as $key =>$item){
		?>
			<option value = "<?php echo $item['MaMH'];?>"
				<?php
					if($bl['MaMH'] == $item['MaMH']){
						echo "selected";
					} 
					
				?>>
				<?php echo $item['TenMH'];?>
			</option>
		<?php
			}
		}
		?>
		</select>
	</td>
</tr>
<tr class='mau'> 
	<td> Họ tên </td>
	<td>
		<input name = "hoten" type = "text" value = "<?php echo $bl['HoTen'];?>"  size="40" />
	</td>
</tr>
<tr > 
	<td>Số điện thoại</td>
	<td>
		<input name = "dienthoai" type = "text" value = "<?php echo $bl['SDT'];?>"  size="40"/></td>
</tr>
<tr class="mau">
		<td valign = "top" align = "center">Email</td>
		<td valign = "top"> <input name = "email" type = "text" value = "<?php echo $bl['Email'];?>" size="40" /> </td>
	</tr>
<tr> 
	<td> Thời gian  </td>
	<td>
		<input name = "thoigian" type = "text" value = "<?php echo $bl['ThoiGian'];?>" size="40" disabled="disabled" /> </td>
</tr>
<tr> 
	<td> Nội dung  </td>
	<td>
		<input name = "noidung" type = "text" value = "<?php echo $bl['NoiDung'];?>" size="40" /> </td>
</tr>
<tr> 
	<td align = "center">Ẩn hiện </td>
	<td >
		<select name = "anhien">
		<?php 
			if($data['AnHien'] == 1){
				echo '<option value = "1"> Hiện </option>';
				echo '<option value = "0"> Ẩn </option>';}
			else {
				echo '<option value = "0"> Ẩn </option>';
				echo '<option value = "1"> Hiện </option>';
			}
			
		?>
			
		</select>
	</td>
</tr>
<tr>
	<td align = "center" colspan = "2"> <div> <input name = "btok" type = "submit" value = "Cập nhật"/> </div> </td>
</tr>
</table>
</form>

<?php }?>